﻿// <copyright file="IImporter2.cs" company="Gravity Age Studios">
// Code released under the MIT license (see License.txt).
// </copyright>
// <author>Vicente Cartas Espinel</author>
// <email>vicente.cartas@gmail.com</email>
namespace LightSwitchApplication.Import
{
    using System.IO;
    using Microsoft.LightSwitch;
    using Microsoft.LightSwitch.Framework;
    using Microsoft.LightSwitch.Framework.Client;

    public interface IImporter<T> where T : class, IEntityObject
    {
        void ImportData(Stream stream, VisualCollection<T> collection);
        void ImportData(Stream stream, EntitySet<T> collection);
    }
}
